let mongodb = require("../server/config");

/*
* 企业数据模型
* */

let Schema = mongodb.mongoose.Schema;

let companySchema = new Schema({
  companyName: {type: String},  // 企业名称
  companyDes: {type: String},  // 企业介绍
});

let companyModel = mongodb.mongoose.model("companys", companySchema);

exports.companyList = companyModel;
